home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7224 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.4 KB  |  29 lines

  1. Newsgroups: comp.lang.c
  2. Path: cwi.nl!dik
  3. From: dik@cwi.nl (Dik T. Winter)
  4. Subject: Re: Leap Years
  5. Message-ID: <DMw5ty.C65@cwi.nl>
  6. Sender: news@cwi.nl (The Daily Dross)
  7. Nntp-Posting-Host: chrysant.cwi.nl
  8. Organization: CWI, Amsterdam
  9. References: <3121EF9A.CA5@mail.isd.net> <4g28ut$p87@taurus.fccc.edu> <fcusack-1602961256070001@mudskipper.cac.psu.edu>
  10. Date: Fri, 16 Feb 1996 23:13:10 GMT
  11.  
  12. In article <fcusack-1602961256070001@mudskipper.cac.psu.edu> fcusack@tdx.org (frank.) writes:
  13.  >                                     Three out of four centuries are
  14.  > excluded so that the calendar remains in sync with our orbit around the
  15.  > sun (so seasons are "predictable"). It's not perfect however. Every so
  16.  > often, we have to add a leap second, which occurs on 1/1 at midnight. Does
  17.  > anyone know what the rule is for leap seconds?
  18.  
  19. There is no connection between leap years and leap seconds and there is no
  20. rule for leap seconds.  Leap seconds are inserted because 24*60*60 seconds
  21. is not exactly equal to a day.  But there is no fixed rule because the
  22. length of a day varies slightly.  As soon as the day and the clock
  23. are out of sync more than a fixed part of a second a leap second is added
  24. at the end of the year or halfway the year, or a second is omitted from
  25. one of those two places.
  26. -- 
  27. dik t. winter, cwi, kruislaan 413, 1098 sj  amsterdam, nederland, +31205924098
  28. home: bovenover 215, 1025 jn  amsterdam, nederland; http://www.cwi.nl/~dik/
  29.